package com.example.recordingpen_datacollection.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xg
 * @since 2023-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BusinessType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业务名称
     */
    private String serviceName;

    /**
     * 添加时间
     */
    @TableField(value = "uaddtime", fill = FieldFill.INSERT)
    private Date uaddtime;

    /**
     * 修改时间
     */
    @TableField(value = "altertime", fill = FieldFill.INSERT_UPDATE)
    private Date altertime;


}
